package com.ruoyi.mateProcurement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateProcurement {
    private String userName;
    private String mateProductName;
    private String mateCategory;
    private String materialName;
    private String beginTime;
    private String endTime;
    private Long mateProcurementId;
    private String mateOrdernum;
    private Long userId;
    private Long readyId;//预入库的主键id
    private Long deptId;
    private String procurementStatus;
    private BigDecimal taxAmount;
    private List<MateProcurementModel> mateProcurementModels;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date purchaseDate;
    private String isRequistion;
    /**
     * 订单审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "订单审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date auditTime;
    /**
     * 订单创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date createTime;

    public Long getReadyId() {
        return readyId;
    }

    public void setReadyId(Long readyId) {
        this.readyId = readyId;
    }

    public String getIsRequistion() {
        return isRequistion;
    }

    public void setIsRequistion(String isRequistion) {
        this.isRequistion = isRequistion;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMateCategory() {
        return mateCategory;
    }

    public void setMateCategory(String mateCategory) {
        this.mateCategory = mateCategory;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public Date getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Date purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public List<MateProcurementModel> getMateProcurementModels() {
        return mateProcurementModels;
    }

    public void setMateProcurementModels(List<MateProcurementModel> mateProcurementModels) {
        this.mateProcurementModels = mateProcurementModels;
    }

    public Long getMateProcurementId() {
        return mateProcurementId;
    }

    public void setMateProcurementId(Long mateProcurementId) {
        this.mateProcurementId = mateProcurementId;
    }

    public String getMateOrdernum() {
        return mateOrdernum;
    }

    public void setMateOrdernum(String mateOrdernum) {
        this.mateOrdernum = mateOrdernum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getProcurementStatus() {
        return procurementStatus;
    }

    public void setProcurementStatus(String procurementStatus) {
        this.procurementStatus = procurementStatus;
    }

    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
